package com.guigu.servicesystem.controller;

import com.guigu.common_util.pojo.utils.Result;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/*
* 后台首页登录的controller
* */
@RestController
@RequestMapping("/servicesystem")
public class loginController {

    @PostMapping("/login")
    private Result login(){
        System.out.println("进入了登录的方法");
        return Result.ok();
    }

}
